// config.js
const dotenv = require('dotenv');
const result = dotenv.config();
let { ConfigService } = require('@nestjs/config');
let configService = new ConfigService();
console.log(configService.get('DB_HOST', '127.0.0.1'));

if (result.error) {
  throw result.error;
}

const { parsed: envs } = result;

console.log(envs);

module.exports = envs;
